package com.example.es.rest.vo;

import com.google.common.collect.Lists;
import lombok.Data;
import java.util.List;

/**
 * @Title:
 * @Author: wangsai
 * @Date: 2019/12/26 17:32
 * @Description:
 */
@Data
public class AggVO {
    private List<Long> categories = Lists.newArrayList();
    private List<String> brands = Lists.newArrayList();
    private List<AttrGroup> attrs = Lists.newArrayList();
    private Long totalNum;

    @Data
    public static class AttrGroup{
        private String attrName;
        private List<String> attrValues = Lists.newArrayList();
    }
}
